namespace LiJ.Pay.WeiXin.Pay.Mos
{
	/// <summary>
	///   微信回调传递的消息实体
	/// </summary>
	public class WxPayScanCallBackMo : WxPayBaseResp
	{
		/// <summary>   
		///    用户标识 String(128) 必填 用户在商户appid下的唯一标识
		/// </summary>  
		public string openid
		{
			get;
			set;
		}

		/// <summary>   
		///    是否关注公众账号 String(1) 必填 用户是否关注公众账号，仅在公众账号类型支付有效，取值范围：Y或N;Y-关注;N-未关注
		/// </summary>  
		public string is_subscribe
		{
			get;
			set;
		}

		/// <summary>   
		///    商品ID String(32) 必填 商户定义的商品id 或者订单号
		/// </summary>  
		public string product_id
		{
			get;
			set;
		}

		/// <summary>
		/// 格式化自身属性部分
		/// </summary>
		protected override void FormatPropertiesFromMsg()
		{
			base.FormatPropertiesFromMsg();
			this.openid = base["openid"];
			this.is_subscribe = base["is_subscribe"];
			this.product_id = base["product_id"];
		}
	}
}
